package com.y.fund.asyncs;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;

import com.y.fund.service.mem.UserService;

@Component
public class LogoutRcdExcludeNewRecordAsync {
	
	@Autowired
	UserService userService;

    @Async
    public void exec(String userId, String clientType, String logoutTime, String excludeLgnRecordId) {
    	userService.logoutRcdExcludeNewRecord(userId, clientType, logoutTime, excludeLgnRecordId);
    } 
}
